pace around

Translations
ходить туда-сюда
He would often pace around the room when he was deep in thought.
Он часто ходил туда-сюда по комнате, когда был глубоко задумчив.